package com.example.appointment.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class DoctorDTO {
    private Long id;
    
    private Long userId;
    
    @NotNull(message = "科室ID不能为空")
    private Long departmentId;
    
    @NotBlank(message = "医生姓名不能为空")
    private String name;
    
    @NotBlank(message = "职称不能为空")
    private String title;
    
    private String specialty;
    
    private String introduction;
    
    private String photoUrl;
    
    private Boolean status;

    // 创建医生时的用户信息
    @NotBlank(message = "用户名不能为空")
    private String username;
    
    @NotBlank(message = "密码不能为空")
    private String password;
    
    private String confirmPassword;
    
    private String phone;
    
    private String email;
    
    // 关联信息
    private String departmentName;
} 